﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace WebSys.UI.OfficeFlow
{
    public class LoginHelper
    {
        public static void CheckLogin()
        {
            if (HttpContext.Current.Session["UserID"] == null)
            {
                //HttpContext.Current.Session["UserID"] = "fd4040dd-7a00-448a-9208-73e0be44b33f";
                //HttpContext.Current.Session["UserName"] = "test";
                //HttpContext.Current.Response.Redirect(Antu.Core.Components.SiteSettings.DefaultSiteSettings.ThemeBaseMapPath + "OfficeFlow/Login.aspx");
                //Antu.Utilities.UtilitiesPage.AlertDialogClear("当前用户非OA人员！", "window.parent.location.href('Index.aspx');");
            }
        }

    }
}
